<input class="checkbox" type="checkbox" id="{$name|id}" name="{$name}"{if $element.value} checked="checked"{/if} />
{if not isset($element.nolabel)}<label class="checkbox" for="{$name|id}">{$element.caption}</label>{/if}